#define _CRT_SECURE_NO_WARNINGS 1

#include<iostream>
using namespace std;

#include"vector(review).h"

void test1()
{
	bit::vector<int> a;
	a.push_back(1);
	a.push_back(2);
	a.push_back(3);
	a.push_back(4);
	a.push_back(5);
	a.push_back(6);
	a.push_back(7);
	bit::vector<int>::iterator it1 = a.end();
	a.insert(it1, 8);
	a.erase(a.begin());
	bit::vector<int>::iterator it2 = a.find(3);
	a.erase(it2);
	/*for (int i = 0; i < a.size(); i++)
	{
		cout << a[i] << " ";
	}*/
	for (auto v : a)
	{
		cout << v << " ";
	}
	cout << endl;
}


int main()
{
	test1();
	return 0;
}